package jaoso.framework.dao;

/**
 * <p>
 * Title: Jaoso
 * </p>
 * 
 * <p>
 * Description:
 * </p>
 * 
 * <p>
 * Copyright: Copyright (c) 2003
 * </p>
 * 
 * <p>
 * Company: Jaoso
 * </p>
 * 
 * @author edgeloner
 * @version 0.9.1
 */
public class Para
{
    /** DOCUMENT ME! */
    private Object pName;

    /** �������ͱ��룬��java.sql.types�е����ͱ���һ�� */
    private int typeNo;

    /**
     * Creates a new Para object.
     */
    public Para()
    {
    }

    /**
     * Creates a new Para object.
     * 
     * @param name
     *            DOCUMENT ME!
     * @param type
     *            DOCUMENT ME!
     */
    public Para(final Object name, final int type)
    {
        this.pName = name;
        this.typeNo = type;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param name
     *            DOCUMENT ME!
     */
    public final void setPName(final Object name)
    {
        this.pName = name;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public final Object getPName()
    {
        return pName;
    }

    /**
     * DOCUMENT ME!
     * 
     * @param type
     *            DOCUMENT ME!
     */
    public final void setTypeNo(final int type)
    {
        this.typeNo = type;
    }

    /**
     * DOCUMENT ME!
     * 
     * @return DOCUMENT ME!
     */
    public final int getTypeNo()
    {
        return typeNo;
    }
}